package com.thinvent.recommend.service.impl;

import com.thinvent.recommend.common.util.DataConvertUtils;
import com.thinvent.recommend.dto.KbFileHistoryDTO;
import com.thinvent.recommend.entity.KbFileHistory;
import com.thinvent.recommend.manager.dto.UserBehaviorFilesDTO;
import com.thinvent.recommend.manager.manager.UserBehaviorDataManager;
import com.thinvent.recommend.service.UserDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class UserDataServiceImpl implements UserDataService {

    @Autowired
    private UserBehaviorDataManager userBehaviorDataManager;

    @Override
    public List<UserBehaviorFilesDTO> getUserData(String userId) {
        return userBehaviorDataManager.getUserBehaviorData(userId);
    }
}
